Microsoft DirectX 8.1 (C++)

CADenials.Item

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The Item property retrieves a denial from the collection.

Syntax

objCADenials.Item(Index) As ICADenial

Parameters

  Index

VARIANT that specifies the denial to retrieve. This parameter can be a zero-based index into the collection, or an ICADenial object already in the collection.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

Returns an ICADenial object.

Remarks

This property is the default member of the CADenials object, so you do not need to specify the property name when you retrieve it. For example, the following are equivalent:

Set denial = denials.Item(1)
Set denial = denials(1)

This property is read-only.

See Also